/**
 * @file goods.css
 * @author swan
 */
@import "/style/iconfont.css";
@import "/style/style.css";
.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    height: 100%;
}
.search-head{
    position: relative;
    background-color: #eee;
    overflow: hidden;
    padding: 20rpx 20rpx;
}
.search-head .search-form{
    display: block;
    border-radius: 28rpx;
    height: 60rpx;
    background-color: #fff;
    line-height: 60rpx;
    text-align: center;
    color: #b3b3b3;
    font-size: 24rpx;
}
.search-head text{
    line-height: 65rpx;
}
.search-head .search-form .icon-fangdajing{
    position: absolute;
    left: 244rpx;
    top: 20rpx;
    font-size: 35rpx;
}
.goods-list {
    display: flex;
    height: 80rpx;
}
.selected{
    background-color: #fff;
    color: #ff7902!important;
    border-right:none; 
    border-left: 3px solid #ff7902!important;
}
.goods-list .goods-category-list{
    position: absolute;
    width: 20%;
    height: 100%;
    left: 0;
    top: 100rpx;
    background-color: #eee;
    overflow: auto;
}
.goods-list .goods-category-list .category-name{
    display: block;
    height: 45px;
    text-align: center;
    line-height: 45px;
    border: 1px solid #dfdfdf;
    border-bottom: none;
    border-right: none;
    font-size: 14px;
    color: #606060;
}
.goods-list .goods-category-list .category-name:last-child{
    border-bottom: 1px solid #dfdfdf;
}
.goods-details{
    position: absolute;
    overflow: auto;
    width: 79%;
    top: 100rpx;
    left: 73px;
    height: 100%;
    background-color: #fff;
}

.goods-details::-webkit-scrollbar {
    display: none;
}

.goods-category-list::-webkit-scrollbar {
    display: none;
}

.goods-details .category-name{
    display: block;
    margin: 20px 20px;
}

.goods-details .goods-img{
    width: 30%;
    height:50px;
    background-size:cover;
    background-position:center;
    border-radius:4px;
    margin: 10px 10px 10px 0;
}

.goods-details .goods-name{
    font-size: 14px;
    color: #484848;
    display: block;
    margin-top: 10px;
}
.goods-price{
    font-size: 13px;
    color: #ff7902;
}
.goods-list-box{
    overflow: hidden;
    display: block;
    margin-left: 10px;
    border-bottom: 1px solid rgb(245, 245, 245);
}
.goods-name-box{
    width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.original_price {
    text-decoration: line-through;
    font-size: 12px;
    color: #afafaf;
    margin-left: 5px;
}